/******************************************************************************
 * Title:     Younker Web Appliaction Framework
 * Copyright: Copyright (c) 2004
 * Company:   YounkerSoft
 * Author: 	  Xiao Jian
 * Version:   2.0
 *****************************************************************************/
package com.younker.waf.component.dbgrid;

import java.io.Serializable;

/**
 * Item of DBGrid Table
 */
public class DBGridItem implements Serializable{
    public static final String STYLE_NONE = "";
    public static final String STYLE_HIDE = "display:none";
    public static final String LABEL_NULL = "&nbsp;";
    
    public static final String NUMBER = "number";
    public static final String DATE = "date";
    public static final String STRING = "string";
    public static final String CASE_INSENSITIVE_STRING="caseInsensitive";
   
    //html display style(formate)
    private String style;
    //the display name of the column
    private String label;
    //the real name of the column
    private String column;
    //the date type of the column
    private String type;
    
    public String getLabel() {
        return label;
    }

     public String getStyle() {
        return style;
    }

    public void setLabel(String s) {
        label = s;
    }

    public void setStyle(String s) {
        style = s;
    }

    public String getColumn() {
        return column;
    }

    public void setColumn(String s) {
        column = s;
    }

     public String getType() {
        return type;
    }

    public void setType(String s) {
        type = s;
    }
}
